package com.windowes.weichang.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author
 */
public class WUser implements Serializable {
    private Integer id;

    private String name;

    private String phone;

    private String password;

    private String roleName;

    /**
     * 0-男 1-女
     */
    private Integer gender;

    private String standardAddress;

    private String dtlAddress;

    private Integer star;

    private Integer provinceId;

    private Integer cityId;

    private Integer areaId;

    private Integer streetId;

    /**
     * 0-内部添加 1-用户注册
     */
    private Short from;

    private Date createTime;
    private Date lastLoginTime;

    private Integer operateUid;
    private String token;
    private String avatar;
    private Integer lifeLevel;
    private Boolean needUpdatePassword;

    private WShop  shopInfo;
    private Integer SId;

    private Integer deptId;
    private Boolean limitedLogin;

    private Integer roleId;
    private String life;

    public String getLife() {
        return life;
    }

    public void setLife(String life) {
        this.life = life;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getStandardAddress() {
        return standardAddress;
    }

    public void setStandardAddress(String standardAddress) {
        this.standardAddress = standardAddress;
    }

    public String getDtlAddress() {
        return dtlAddress;
    }

    public void setDtlAddress(String dtlAddress) {
        this.dtlAddress = dtlAddress;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Short getFrom() {
        return from;
    }

    public void setFrom(Short from) {
        this.from = from;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getOperateUid() {
        return operateUid;
    }

    public void setOperateUid(Integer operateUid) {
        this.operateUid = operateUid;
    }

    public Integer getStreetId() {
        return streetId;
    }

    public void setStreetId(Integer streetId) {
        this.streetId = streetId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setLifeLevel(Integer lifeLevel) {
        this.lifeLevel = lifeLevel;
    }

    public Integer getLifeLevel() {
        return lifeLevel;
    }


    public Boolean getNeedUpdatePassword() {
        return needUpdatePassword;
    }

    public void setNeedUpdatePassword(Boolean needUpdatePassword) {
        this.needUpdatePassword = needUpdatePassword;
    }

    public void setSId(Integer sId) {
        this.SId = sId;
    }

    public Integer getSId() {
        return SId;
    }

    public WShop getShopInfo() {
        return shopInfo;
    }

    public void setShopInfo(WShop shopInfo) {
        this.shopInfo = shopInfo;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }


    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Boolean getLimitedLogin() {
        return limitedLogin;
    }

    public void setLimitedLogin(Boolean limitedLogin) {
        this.limitedLogin = limitedLogin;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }
}